home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / APP / S-Z / VMTuner.sea / About VM Tuner < prev    next >
Text File  |  1992-09-20  |  14KB  |  184 lines

  1.  
  2. VM Tuner 1.0.0 © 1992 by Karl Pottie
  3.  
  4. 1. What is VM tuner ?
  5.  
  6. System 7 offers you the ability to 'extend' the available memory by pretending your Macintosh has more RAM than it actually has installed. Instead, the Mac uses a file on disk to store portions of the RAM it currently doesn't need in order to make room for another portion it needs to use now. This way of extending memory is called virtual memory (VM), and it happens transparently for the applications, except for one thing: speed. The so-called swapping of portions of RAM from and to the disk causes your computer to slow down considerably. The larger you set the virtual memory size, the slower your Mac will get. You have to seek a trade-off between the benefits of extra available memory and the speed degradation. VM tuner will help you to determine what's the optimal setting for you and your computer.
  7.  
  8.  
  9. 2. How does it work ?
  10.  
  11. VM Tuner will observe the way you use your computer over a relatively long period of time. The statistics it collects will help you determine the optimal setting for VM for your computer and the way you use it.
  12.  
  13. VM Tuner calculates how large the VM memory setting must be, in order to extend your memory at virtually no speed cost. This is possible because the Macintosh Multifinder does a very bad job at memory management, so bad that in fact 25% up to 50% of the installed RAM in your Mac is "wasted" (because of fixed memory partitions for the applications).  The VM Tuner settings are calculated in such a way that this RAM will be used without causing any swapping (or speed degradation). This process is explained more clearly below.
  14.  
  15.  
  16. 3. Who needs to use VM Tuner ?
  17.  
  18. In order to be able to use VM Tuner, you need to be able to run VM. This is only possible for Macintoshes which have an MMU (memory management unit). If you don't have an MMU, VM Tuner will tell you so. Every 68030 based Mac has an MMU, some 68020 based Macs also have an MMU. The 68000 based Macs never have an MMU.
  19.  
  20. I'd like to make a difference between to groups of VM users. The first small group uses only one or two programs which need a lot of memory. An example of such an application is Photoshop. The user only switches between applications occasionally. VM Tuner is of little use to this group of users.
  21.  
  22. The second and largest group uses more applications and switches more often between them. You are very likely to belong to this group. VM Tuner is aimed at this second group. Even if you don't use VM now, you should run VM Tuner. Perhaps you will discover you can use the RAM in your Macintosh more efficiently without a speed degradation.
  23.  
  24. Remember that the only thing VM Tuner does is give you some advice on how to set the VM memory size of your computer. It remains up to you to follow this advice or not. VM Tuner is quite conservative when it suggests a setting. You should be the ultimate judge on what you need. Perhaps you don't care about the speed degradation VM causes, and perhaps you are only interested in obtaining a large (virtual) memory space. 
  25.  
  26. Also remember that using VM may cause some compatibility problems with the software you already use. Unless you want to spend a lot of money on upgrading, it really isn't worth using VM in that case.
  27.  
  28.  
  29. 4. How to use VM Tuner 
  30.  
  31. It is very simple to operate VM Tuner. Just Launch the application (you could also drop VM Tuner in your 'Startup Items' folder), switch it to background and continue working on you Macintosh as you always do. It doesn't matter if you already use VM or not. Every five minutes, VM Tuner will collect some information on the memory usage on your machine.
  32.  
  33. Note: if you use VM Tuner for the first time, you will be presented a dialog box which will request you to fill out you name and serial number. This dialog box will continue to appear each time you launch the app, until you register your copy . See for details at the end of this document.
  34.  
  35. After a couple of hours of usage, switch back to VM Tuner and select the Results… menu item. You will be presented with a dialog like this one:
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. The report will tell you the Physical RAM size (= real installed RAM), the Logical RAM size (=VM memory size) and the average partition usage (explained below) . It will then give you a recommendation on how large you should set your VM memory size. Finally it will give you some comments on your current settings. You can change the current settings by using the memory control panel. Switch VM on, select the appropriate memory setting and reboot. 
  59.  
  60. If VM Tuner suggests two settings (like 6Mb or 7Mb in the example), you should decide what you want. If you want to play it safe, use the lowest figure. The highest figure may cause a very slight speed degradation because of some swapping.
  61.  
  62. Tip: if you decide to start using virtual memory,  you really ought to de-fragment your hard disk with a utility like Norton Utilities Speed Disk or DiskExpress II. The expense of these utilities will certainly pay off in a noticeable speed gain, not only in swapping, but in general hard disk speed. 
  63.  
  64. Note:  Some Macs like the Mac II, IIx, IIcx and SE/30 are do not have 32-bit clean ROMs. This is no problem, as long as you don't need to increase the VM settings beyond 13Mb (and/or have no more than 8Mb of RAM installed). However, if you need to do this, you should install an init/cdev called Mode-32, which is freely available for all Macintosh users (consult your dealer about this).
  65.  
  66. After you have followed the recommendations and changed your settings, you should run VM Tuner again, because the new settings might change the way you use your computer and thus the results. In fact, you should continue to use VM Tuner on a regular basis (every month or so), because the way you work might change.
  67.  
  68. The longer you run VM Tuner, the more accurate the report will be. You should at least run VM Tuner a couple of hours before getting a report, but preferably a couple of working days. VM Tuner remembers the collected data if you quit it (even if you shut down or restart your Mac). If you re-launch VM Tuner, it will continue to add observations to it's database.  You can erase the past observations by selecting the Initialize menu item. You should do this every time you change the settings of VM, or if you install new RAM, run new inits, install new applications and versions or change application memory partitions.
  69.  
  70. Note: VM Tuner is shareware. If you run an unregistered copy, VM Tuner will not remember the collected data if you quit it. If you forget to get a report before you shut down your computer, all data will be lost. You can read below how to register your copy.
  71.  
  72.  
  73. 5. The Basic principles of VM Tuner
  74.  
  75. Note: For clarity, some things are simplified so that non-technical people can understand this text.
  76.  
  77.  
  78. When you run multiple applications on your Mac, these applications share the available memory. Each application gets a pre-determined fixed memory partition when it is launched. This is the "current size" setting of the application you see when you click on the application and select Get Info in the finder. You can change this size to accommodate your needs.
  79.  
  80. When you would make a snapshot of memory at a certain moment in time you would get a picture like this:
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. In this example, the available memory is split up between the system and two applications. There is also some free memory.
  93.  
  94. Actually the situation is a bit more complicated than that. The partition size for an application is large enough to accommodate the maximum memory the application will ever need. On average, the application will only use a part of the memory that is allocated for it. You can see this in the following picture:
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. You can see that both applications leave a large part of the allocated memory unused (the white areas in the middle of the reserved partitions). And here comes the bad part: the unused memory can not be used by any other application.  This means your Mac typically only uses 50% to 80% of the installed memory.  What a waste !! You can actually see this on your computer when you select  About this Macintosh in the finder:
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123. In this example, the Belgian PostCards application only uses about half the memory (532Kb) allocated to it. This is typical for most applications.
  124.  
  125. Here's where VM comes in. You remember that VM uses a part of the disk to extend your available memory. Instead of 5 Mb you suddenly get, say 7 Mb of RAM. When you use the extra memory, some other part of the RAM will be swapped to disk to make room for the extra memory. And here comes the trick: VM can and will use the unused and 'wasted' RAM for this purpose. And as long as the unused memory remains unused, it will never be swapped back into RAM again.
  126.  
  127. Hey, but what would happen if you set the VM memory size to the size of the physical RAM plus the average size of unused memory ? Well, eh, …, the computer would perform (almost) no swapping. Wow ! This means if I can find the average size of wasted memory, I could run VM without any speed degradation. There's no magic to this, we're just using the installed RAM more efficiently. The effect is the same as if all unused memory was thrown back onto a heap, where it could be used by all other applications.
  128.  
  129. Here's what VM Tuner does. It registers the average partition usage (see the report) and with a mathematical formula, it extrapolates the optimal settings for VM.
  130.  
  131. The average partition usage will be different for each Macintosh user, because it depends on how you use your computer. VM Tuner also needs to be able to observe your memory usage for longer periods of time, so you should run a registered copy as long and as often as possible.
  132.  
  133. Try it, and make more efficient use of installed RAM.
  134.  
  135.  
  136. 6. Shareware
  137.  
  138. This software is shareware. This is not another term for free software, as many people seem to think. Shareware software must be paid, just like ordinary commercial software. The difference is that a shareware author uses cheap distribution channels to keep costs down and this system also allows you to evaluate the software before you decide to purchase it.
  139.  
  140. Support the shareware system by paying your shareware fee ! Many great shareware products  have gone commercial because people did not take up their responsibility and paid their fees.
  141.  
  142. Remember: unregistered copies of VM Tuner will not save collected statistics before quit. This means that you can not run an unregistered copy for a prolonged period of time, which is necessary to get good results. The unregistered copies are fully functional in all other aspects.
  143.  
  144. Distribution:
  145.  
  146. You can distribute this software by giving it away to friend, upload it to a BBS or online services like Compuserve or AOL, or send it to any ftp site. Basically you can distribute it any way you like, as long as you don't ask any money for it, other than a small charge related to distribution costs (cost of a disk, postage or download fee) and keep it together with this unmodified document in the original compressed archive this product came in.
  147.  
  148. You may not sell this product or bundle it with any other products (commercial or other) without explicit written permission by the author of this software.
  149.  
  150. You may not modify VM Tuner or this document in any way nor distribute VM Tuner without this document or the other files and applications that came with it.
  151.  
  152. Price:
  153.  
  154. The basic fee for the first copy of VM Tuner is $15. For each additional Macintosh you run this product on, you must pay another $5. Mind you: you don't pay for the number of users, but for the number of Macs you run VM Tuner on.
  155.  
  156. You will receive a personal registration number which will reflect the number of copies you paid for . Please allow 4 to 5 weeks for response. 
  157.  
  158. You can also get a site license for $200. This gives you the right to use as many copies as you want . You will also receive all new updates for free and I will give full support to the best of my possibilities.
  159.  
  160.  
  161. Payment:
  162.  
  163. a. Europe: You can send cash (dollars or Belgian Franks (BEF)) or send me a Eurocheck. The Eurocheck must be made payable in Belgian Franks (BEF). The fee is 450 BEF for the first copy and 150 BEF for each additional Mac. A site license costs 6000 BEF.
  164.  
  165. b.Outside Europe: You can send cash (dollars) or an International Money Order . Please do not send any checks because cashing a foreign check is often more expensive than the amount it was written for. 
  166.  
  167. From contacts with people in the U.S.A, I learned many people don't pay shareware fees because they think it is a hassle to get money to Europe. It isn't ! The simplest way (for small fees, less than $40), is to send CASH. My experience tells me this is a very reliable method, and I never had any trouble with it. Put the money inside a piece of paper (the registration form) and put it in a firm envelope, so that you can't see it when you hold it to the light. Send the letter by air mail. Larger amounts can best be paid by International Money Order.
  168.  
  169. My address:
  170.  
  171. Karl Pottie
  172. Orkaanstraat 21
  173. 8800 Rumbeke-Roeselare
  174. Belgium (Europe)
  175.  
  176. If you want to send me a bug report, be sure to state Macintosh model, system version, used inits (system extensions) and cdevs (control panels). Describe the problem as clearly as you can: what happens ? which circumstances ? Can you eliminate the problem by turning off some extensions ?
  177.  
  178.  
  179.  
  180. LIMITED WARRANTY AND LIABILITY:
  181.  
  182. THIS SOFTWARE COMES 'AS IS'.  I CAN NOT BE HELD RESPONSIBLE FOR ANY DAMAGE OR LOSS OF DATA CAUSED BY THIS PRODUCT  DIRECTLY OR INDIRECTLY, WHATEVER THE NATURE OF THE DAMAGE. I CAN NOT BE HELD RESPONSIBLE FOR ANY OF THE ASSUMPTIONS OR IDEAS EXPRESSED IN THIS DOCUMENT, NOR DO I GUARANTEE THE CORRECTNESS OF THESE IDEAS OR ASSUMPTIONS ON WHICH THIS SOFTWARE IS BASED.
  183.  
  184.